import cv2#opencv读取的格式是BGR
#import matplotlib.pyplot as plt
import numpy as np

#defcv_show()

#Loadancolorimageingrayscale
cxk = cv2.imread("photo\\cxk.bmp")#导入图片

# cxk = img[100:550,200:550]

cv2.imshow('cxk',cxk)#等待时间，毫秒级，0表示任意键终止
cv2.waitKey()#按键终止
cv2.destoryAllWindows()
